package traveldream.ejb.interfaces;

import java.util.List;

import javax.ejb.Local;
import javax.persistence.EntityManager;

import traveldream.ejb.DTO.ExcursionDTO;
import traveldream.ejb.DTO.HotelDTO;
import traveldream.ejb.DTO.PackageDTO;
import traveldream.ejb.DTO.TransportationDTO;

@Local
public interface PackageInsertionBeanLocal {

	public List<HotelDTO> allHotel();

	public List<TransportationDTO> allTransport();

	public List<ExcursionDTO> allExcursion();
	
    public boolean checkPackage(int selectedH,int selectedE, int selectedG, int selectedR) throws NotFindException;

	public void save(PackageDTO pDTO);

	public boolean checkPrice(int selectedH, int selectedE, int selectedG,
			int selectedR, PackageDTO pDTO) throws NotFindException;
    

}
